package org.zhu.common.bean;

/**
 * Created by zhu yingzhi on 2017/9/8.
 * @author yingzhi zhu
 * 商品规格表实体类
 */
public class GoodsAttr {
    /**
     * 自增
     */
    private Long id;
    /**
     * 商品的Id
     */
    private Long goods_id;
    /**
     * 规格具体名
     */
    private String attr_name;
    /**
     * 规格分类
     */
    private Long attr_class;
    /**
     * 规格分类对象
     */
    private AttrClass attr_class_object;
    /**
     * 原价格上增加的价钱
     */
    private double increase_price;
    /**
     * 规格描述
     */
    private String attr_desc;
    /**
     * 规格图片
     */
    private String attr_img;
    /**
     * 此规格的库存 暂时没有开放此功能
     */
    private int attr_number;

    public int getAttr_number() {
        return attr_number;
    }

    public void setAttr_number(int attr_number) {
        this.attr_number = attr_number;
    }

    public Long getAttr_class() {
        return attr_class;
    }

    public void setAttr_class(Long attr_class) {
        this.attr_class = attr_class;
    }

    public AttrClass getAttr_class_object() {
        return attr_class_object;
    }

    public void setAttr_class_object(AttrClass attr_class_object) {
        this.attr_class_object = attr_class_object;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Long goods_id) {
        this.goods_id = goods_id;
    }

    public String getAttr_name() {
        return attr_name;
    }

    public void setAttr_name(String attr_name) {
        this.attr_name = attr_name;
    }


    public double getIncrease_price() {
        return increase_price;
    }

    public void setIncrease_price(double increase_price) {
        this.increase_price = increase_price;
    }

    public String getAttr_desc() {
        return attr_desc;
    }

    public void setAttr_desc(String attr_desc) {
        this.attr_desc = attr_desc;
    }

    public String getAttr_img() {
        return attr_img;
    }

    public void setAttr_img(String attr_img) {
        this.attr_img = attr_img;
    }

}
